fix stateName value on scroll