fix project scrolling to behave in short windows