video window behavior improved