created previewButtonContainer class