fix for resizing on small screens