LUN-1134 -- logic and css styling to fix small images center alignment i...

...n the right rail