Add function - centre image and close button