i have two separate swiches , one to move screenr up en one to move screen down

is there a way to combine these switches into

i have two separate swiches , one to move screenr up en one to move screen down

is there a way to combine these switches into
