improve spinner control