fix small bug in sidebar close button JS