use finish() instead of clearQueue()
add max queue length to animated element
Merge branch 'fix-indefinitely'