auto adjusting screen width