extend from th-animated for getState method