placing pictures in proper position