auto-adjust video preview windows