change css style and add animation for task list