merge duplicate image views into a single one