now listens to th min-width setting