made min-height to direction div