Fix and option to hide preview container