Animations during user actions added. DOM modified slightly for better animation effects.