Make SwitchIndicator more compiler-friendly
Qualify the lookup to control
Use AbstractButton instead of Item for control
AbstractButton is the common base of Switch and SwitchDelegate, the two users of SwitchIndicator
This isn't quite perfect since both Switch and SwitchDelegate have a visualPosition property, but there's no common base type with that property