fixed image max size and word-wrap for sidebar