Added in toggle open/close functionality