Solve the auto-hide sidebar but I want non-refresh