refine js section switching using .click()