Add support for selecting tags on click, and select tags with arrow keys