Fixed animate bugs, added doubleclick event handler to trigger edit action