getPinnedPosition
Fix viewType is below zero when has footer or header