window resize snap accomodates UI size, ui style tweaks