fixing width and height issues on mobile