Add height compensation when resizing
Remove unnecessary class from selector