Listener to minimize sidebar