@@ -319,8 +319,12 @@ void ListViewWithPageHeader::viewportMoved(Qt::Orientations orient)
319319 }
320320 }
321321 // We will be changing the clip item, need to accomadate for it
322− // otherwise we move the firstItem down/up twice
323− diff += oldHeaderItemShownHeight - m_headerItemShownHeight;
322+ // otherwise we move the firstItem down/up twice (unless the
323+ // show header animation is running, where we want a different effect)
324+ if (!m_headerShowAnimation->isRunning())
325+ diff += oldHeaderItemShownHeight - m_headerItemShownHeight;
326+ else
327+ diff = -diff;
324328 }
325329 if (!m_visibleItems.isEmpty()) {
326330 updateClipItem();