Fix the close

Causing the side bar menu not to work when uploaded to site