adding resize, add this, hide controlsonpause