add method for height
okay layout isn't complaining any more