added open menu functionality