added resizing to sidebar images