created new directive for min height