tweak animations example to respond to clicking + dragging (or tapping and dragging)