Refactor smooth-state to use new function  addSmoothSelectTarget
Add pageTransFunction onStart