modified to evenly space images