correct behaviour of the drawer when cliked to close while opened