Moved the preview box into its own view