Fix initial sidebar height issue

cc @antoviaque