Get screen width dynamically if possible