store scroll positions, including scrollLeft, not just scrollTop