Encapsulated the border display into a separated file.