fixed sidebar layout problem on Articles and Gallery pages