handle relative url's when clicking