SAK-23820 Use the device width when on iOS devices.

This makes the login page render better on an iPad but still use a sensible layout on an iPhone.

git-svn-id: https://source.sakaiproject.org/svn/login/trunk@127965 66ffb92e-73f9-0310-93c1-f5514f145a0a