update layout for previewed images