fix animation glitch with bootstrap theme