Allow configuring animation duration/option