sorting sidebar issue with max-width