click and drag jquery added. still bugs