Added button functionality.

Overflowing still needs work.
You called my createDiv method, which assigns the div a class, you can make these styles in panorama.css instead of in the JS code. It's a lot easier to manage. If you need to set static attributes, set them in the css. Only change them in the JS for animation purposes and whatnot.