Changed endpoint location to top corners.