Tweaks to make the resize work better on small phones