fixes #984: fixed sidebar height issue