Make main interface work on mobile

This is for issue #22. It's not done yet, but I figured it would be easier to have a conversation about this if you can see the commits.