onclick the button "M" makes the "M" divider to move at the top

onclick the button "M" makes the "M" divider to move at the top

Hi !
I have a page that has a listview of 125 names ; that listview has 26 "divider", one for each alphabet letters A to Z ; each divider has an "id" : "A", "B", "C", etc. The page's fixed header has 26 buttons, one for each alphabet letters. When the page is loaded, the divider "A" is at the top of the screen.

I would like the listview  to move in order that a divider, say "M" divider, move at the top of the page when I click on the button "M".. ...and so on for each button-divider.

I would appreciate having your support !