Added setter for pagePreviewHeight
Updated sample