added the imagepanel class back