Smooth navigation form Single Page Apps