Code refactorings

Replaced if/else blocks with switch, not sure if the originals where so because they could have been faster. Submitting for consideration anyways.

Simplified MicroViewSlider::draw() to remove redundant code.