Added "open" property to Pane element.

Added a “open” property on the pane element to specify whether it is
open or closed on load. Also modified the code in the viewer.js file to call the togglePane function with the previously mentioned parameter when the property is detected.