got border bouncing working, lots of comments