Fix null type error when toggleSidebar is called without an argument. Fixes issue #4 - sidebar X will not close the bookmarks or
history sidebars
Merge pull request #16 from Lyneira/master

Fix null type error when toggleSidebar is called without an argument.