hook sidebar to opener more elegantly