added title_height minimum variable