Added startCollapsed

Changed option from 'closed' to 'startCollapsed' and added its
functionality