Add event on arrows to move the window