controls location on the main window