fix state list position

This PR fixes the jumpiness/scrolling of the state list.