smooth-scroll to center the selected element (fixes #20)