clicking adds sidebar to window