fix position bug, and add timeline for example