moved arrow button handling to functions, allow increasing/decreasing numbers & changing meridian using arrow keys