mobile friendly resize fix