Add refresh handler for swipe to refresh

Support will be added in [bug 970707](https://bugzilla.mozilla.org/show_bug.cgi?id=970707)