Gmail like pull to refresh implementation.