Updated height calc to work with more browsers