making medium thumbs responsive to window height