using rAF instead of transitions/animations