centerining the location of the panel