added spinner to image pan buttons