State gives districts flexibility in terms of gym