change the next and previous button into an image button