Added support for clicking a view