fix layout issue with right sidebar pages