Some performance improvement
Used append child when adding new images instead of change innerHTML