dir browser scroll position saving and back() action