Added config button, fixed animation duration bug