fixes issue where only 1/2 screen is used on mobile devices