position of the background and free all the pictures