Added button functionality.

Overflowing still needs work.
Can't you make pictureWidth a member of the Panorama object and then call panorama.setPictureWidth(whatever);?