Matt Joyce almost missed seeing the ball go over the fence.

Joyce ripped the David Robertson fastball to right field in the ninth inning Wednesday for a three-run home runs that sent the Rays to a 4-1 victory, but he was on the ground after rolling his left ankle on the swing.

"It was definitely mixed emotions," Joyce said. "It was the best and worst feelings you can possibly have in the span of a minute."

Manager Joe Maddon and some others in the Rays dugout missed the dramatics and wondered why it was taking Joyce so long to run the bases. He finished the game in the outfield, but said the ankle may be sprained and his availability for Thursday was in question.

But that didn't diminish the good feelings he had, as the Rays snapped a three-game losing streak and reclaimed sole possession of first place in the AL East.

"It hurt my pride a little bit,'' Joyce said. "But I think after the ball went over the fence I think the pride got a good kick.'