added solution for photo gallery's spacing.