Add returnLastPlace function, hack to allow browser back function