changed button to image so it can be controlled by js