change infobar height to content height on resize and load