Properly offset scrolling depending on context. #18