Add mouse selection and show matching brackets