Fixes for deploy.

Change button type to button rather than submit, so the answer won't be
submitted whenever you click one of the TeX buttons. Fix positioning.
Select the input when moving to the next problem.

Test plan:
* do some expression problems
* clicking theta, phi, and pi doesn't submit
* the input is selected when I move to the next problem