fixed some bugs and made animating be able to be paused and unpaused

added helper preventDefaultClickEventsOnTheseIds, added animatedElement
property to AnimatedBlock, added resetIndex function to AnimatedBlock,
added startAnimation and pauseAnimation functions to AnimatedBlock and
DrawableSurface, fixed bugs with copying AnimatedBlocks