Clean up.
Add pan/zoom behaviour.