fixed right sidebar being pushed under content

fix for issue #535.