border pos

border pos generated... currently not working for all sides