Added height calculations for multiple views