limiting image size to avoid overlap with sidebar