Implementing context menu and wheel event