innerWidth already includes padding; it was counted twice