add scrolltop 1 function in each view