Add function for UIScrollView rubber-band effect