use dynamic offsetTop, refine title