When camera is opened, sliding menu closes