Implemented click and hold to dim background.
Still need to fix mouseleave event.