added drawing algorithm to menu
changing current index via keypress