Click-scroll
Simple smooth scroll plus scrollspy using jquery
Documentation
JS Setting
var sectionArray = [1,2,3,4,5]
it's assume that you are have 5 section. If you have only 4 you can change it with [1,2,3,4]. And if you have six section, you can change it with [1,2,3,4,5,6]
HTML setting
<section id="section_1">Section 1</section> <section id="section_2">Section 2</section> <section id="section_3">Section 3</section> <section id="section_4">Section 4</section> <section id="section_5">Section 5</section>