add relayout method, add animation fps