Adding hidden option to grid layout