ensure loading icon disappears when loading new page. fixes #53