adjustments for next and previous resource uri