added some stuff for forums pagination