rapiftr/tracker#28 refactor - breaking up scroll logic into small understandable methods