Working potentiometer and rotary encoder.

Still needs hooking up potentiometer with zoom functions. Scrolling
works.