Adam Glenny's 89th-minute penalty helps Dungannon Swifts end a run of three league defeats in a row after they come from behind to beat Cliftonville 3-2 in an entertaining game at Stangmore Park.