A control of pull to refresh. Writen by swift