Adding size option to the pagerview