resize layout based on user screen size