adds basic switching of URL on interaction