Implemented a method that allows for text to be set in the top middle of the image panel.