Feature/refactoring

Prepopulate cols in a variable to use it for the hover effect instead of selecting it on mouseover/out greatly increasing performance.