Fixes thumbnail scrolling jumps