fixes #39 adds a loading bar for slow pages