fixed sorting problem; made graphic widths responsive