Sprite collision can be a bit tedious. In my opinion, I'd say the best way to go about it is to have 5 different collision boxes, one active hitbox for the main loop, and one for each direction of movement. Each box should be redefined as you need them. Hope that helps