Switch from re-rendering html to only toggling classes.