Determine network height based on window size