add max height to background