fix how the scroll ratio elements calculate their posisition