update visibility of up/down/left/right