Stopped click event propagation to avoid clicking on links