attempting to get scroll detection working, but not really reliable at the moment...