Modified codes to make the right menu clickable.