added option to change url without altering history