sorting out page height/width