Clicking anywhere should close medium bar