Viewport resizing manual mode

Keyup and keydown functionality.
Can press and hold up and down arrows to fine tune the viewport size.
On-the-fly px-to-em (and vice-versa) conversion
Consolidated Dave's duplicate functions into the main behavior