Minor refactorings with scrolling variables
Small fix to use the startingPoint in startHeight calculation
Small fix to startingPoint. It wouldn't work with decimal values