remove unused code for the fixed of ZK-2294 with scrollIntoView