[FIX] web: scroll should move top on clicking menu on top bar

Backported from 97d99d1974c965506ed9005d4854fcc5ffee0590