New function added  in Drawer.js