don't show 'first' when link is same as 'previous' button

figured later i should have fixed the 'first' button as well, no point in showing it when the back button points to the same page.