add toggle to images