Set max height to container