Fixing errors on mobile viewport sizes