Detect witch element is clicked