Fix the cycling when the dock is in the left side of screen

Hi, this small change fixes the cycling when using a vertical dock.

Hope this cycle stuff becomes official, much easier to work this way.