Adjust login view to work on mobile