click and drag listeners added