How to make sidebar automatically pop up