it looks like you have changed the gallery to use the 1024 progressive image width, this uses a 768px height for the gallery, the images you are using are smaller than that, so thay are not being resized to the full 1024 X 768 size because that would cause them to be distorted, but the view port for the gallery is still using those dimensions.