Animations and CSS

Added few setting variables. Does not work on IE.