Add a bar to the rendering and explore how to detect mouse clicks