impliment single click function similar to function in trader view