fix side bar direction