move request for animation frame to css util object and animate logo