video mode switch added