adding responsive support to the sidepanel template