click function

delegating, now it works everywhere..