add slides per page support