selecting a tag resets page number