change windows positions depending screen size