Fix wrap around infinite loop bug
Wrap around only works from bottom to top now
May change in the future