Refactor the code
fix call sticky.fix() when browser support position:sticky
update history