make spinner invisible when inactive