added topoffset, onrefresh options to scroll initiation