fix style and position sidebar