Reorganising master pages