if scrolldelta is set to 0, then bad things happen without this. I'd rather leave it in to handle that case, it doesn't add too much code.