getting viewport to behave on mobile devices