Implemented animation fps automatic setup