Timer for controlled animations using C++11 chrono