if click not in sidebar for inner page

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