check @pages before setSelected
remove old views when reaffecting pages
trigger pageDidChange if page change without dragging
fix animation bug in iOS < 6.0