Moving window on screen

Window is moving from left to right edge of the screen, following mouse.