A small function for css3 transitions especially for mobile page transitions