Prevent repaint on every resize event

Currently the equalizer function is called every time the resize event is triggered, which is a lot and not really needed, unless you want to equalize even if your screen is resizing. I guess it can be a flag.