deselect earlier to avoid scroll down then up

Signed-off-by: bovitobo <bovitobo@yahoo.com>