Added "resumeScrollPosition" option