keeping page2 element centered