Move UI controls to the right side of the window for smaller screens