Handle sidebar height calculation for desktop.