change size according to web size