another way to get screen width