Slidepanel React component