Handle toggleing the content screen on mobile.

Closes #3520.

Move the custom jQuery animation into an action on the controller so
that we can trigger it from within the route if needed.
Merge pull request #3535 from rwjblue/properly-transition-on-mobile

Handle toggleing the content screen on mobile.