Don't Change Hidden State if No Change

Need to check the previous and current scrollTop to make sure they
are different. Otherwise, hidden state should remain the same.