fix for refreshing with non-zero scroll position
add minified version