Hide side menu while clicking device back button

Hi I am new to ionic am creating a simple app in that am using ion-side-menus , What i need is when the menu is opened that time if i clicked the device back button the menu is not closing instead of that the page is changing or the app is closing, So I need ion-side-menus has too close while click the device back button

Please give some suggestion Thanks