Add and rearrange pictures to gallery