fix rendering of sidebar menu