add a flag for shuffling the main dataset before splitted to different
subviews.