renamed startframe/endframe to startpage/endpage