fix broken arrow buttons

wait for images to load before creating buttons