handle #profile url anchor appropriately