replacing active with ontouchstart
polishing easing of animations