Mocked requestAnimationFrame for PhantomJS
Fixed selection bug
Fixed multiple header bug