Add switch for turning pull to refresh-function off