mark position to localStorage