fixed (maybe) missed click bug

attaching events to div, instead of raphael image