modified magellan to deselct on topscroll