added first version for scrolling up. Known bug: always shows the topmost group
reduced method calls and improved readability by introducing a second parallel array
fakeHeader now works, unconditionally in both scrolling directions