Add popstate listener - fixes #11

Bumps version to 0.1.2