add borders for player and enemies movement