fix glitch after click on switch with form-control class #318