changed calc height to jquery solution