Add viewport picker and attributes

Added a rectangle class to save viewport size and location. Allows us to determine which viewport is being clicked, and respond appropriately.