improve overscroll top / bottom swapping