implement visual selection indication