changed pagging in menu