Added checkbox to show/hide video preview and fixed video preview position