update screen width