fixing issues with display on small screens