fixes issue with videos on mobile switching