Calls requestAnimationFrame only on resize
Marks some methods as private
Bumps version to 1.3.1