Trying to implement auto drawer closing