Added functionality to drawer.