Attempt at optimizing performance of sticky group headers.