added page3 button

also fixed a bug in page buttons behavior