Optimization for toggling video controls on mobile/desktop