Change background height calculation