Make openSidebar() work with no argument.