changed style if sidebar isn't shown