use height() fn instead of innerHeight()