set path to correct height so scrolling is smoother as path becomes stuck