Fixes "top" positioning

1) The logic needs to pull the Header View, not the list item View.

2) the "if" condition appears to be reversed.  I don't know why exactly, but the new way works perfectly, but the old way is broken.