Added scroll wheel listener for zooming. Cleaned up code.