Readjust sidebar height when images are resized.