added click logic vs drag logic