on click, hide sidebar if not on sidebar

Signed-off-by: Aaron Armstrong <aaron@openplus.ca>