Programing LEFT, RIGHT function keys