added function to convert scroll offset to dregrees