Drastically simplified border code using external functions for rotate and whCopy