trying some html magic to fix the animation issues