select and deselect points