Gets rid of the event listener that maximizes the container when the range changes.