Demo stutter fix

When using the animation dropdown or other options the plugin is
reinitialized in the demos. The transition on the visibility CSS
property and the order the classes were being removed was causing a bad
stutter like effect with the animations. This fix is to address those
issues.