made top borders respond to larger screens