add a pages control
done with static pages