Use the browser's history api for URL