fixing toggle bar